<!--
 * @Description: 
 * @Version: 1.0
 * @Author: MapleLeaf
 * @Date: 2021-05-22 09:42:22
 * @LastEditors: MapleLeaf
 * @LastEditTime: 2021-05-22 17:35:08
-->
<template>
  <!-- 全局配置 -->
  <ConfigProvider v-bind="lockEvent" :locale="getAntdLocale">
    <!-- <AppProvider> -->
    <routerView />
    <!-- </AppProvider> -->
  </ConfigProvider>
</template>

<script lang="ts">
import { defineComponent } from "vue";
import { ConfigProvider } from "ant-design-vue";
//import { AppProvider } from "/@/components/Application";

//import { useLockPage } from "/@/hooks/web/useLockPage";
// import { useTitle } from '/@/hooks/web/useTitle';
// import { useLocale } from '/@/locales/useLocale';

export default defineComponent({
  name: "App",
  components: { ConfigProvider },
  setup() {
    // // support Multi-language
    // const { getAntdLocale } = useLocale();
    // // Create a lock screen monitor
    //const lockEvent = useLockPage();
    //return { getAntdLocale, lockEvent };
  },
});
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
